DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Conformance-daf-query-requestor.xml

Raw XML (canonical form)

null (id = "conformance-daf-query-requestor")

<Conformance xmlns="http://hl7.org/fhir">
  <id value="conformance-daf-query-requestor"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      
      
      <h2>DAF Requestor</h2>
      
      
      <p>(Requirements Definition)</p>
      
      
      <p>Published: 2015-04-02 (draft)</p>
      
      
      <p>Published by: 
        
        <b>
          
          
          <a href="http://www.healthit.gov/">U.S. Office of the National Coordinator (ONC)</a>
        
        
        </b>
      
      
      </p>
      
      
      <p>This profile defines the expected capabilities of the 
        
        <i>DAF Requestor</i> actor when conforming to the 
        
        <a href="daf.html">DAF FHIR IG</a>.
      
      </p>
      
      
      <h2>General</h2>
      
      
      <table>
        
        
        <tbody>
          
          
          <tr>
            
            
            <th>FHIR Version:</th>
            
            
            <td>1.0.2 (DSTU2)</td>
          
          
          </tr>
          
          
          <tr>
            
            
            <th>Supported formats:</th>
            
            
            <td>JSON or XML</td>
          
          
          </tr>
        
        
        </tbody>
      
      
      </table>
      
      
      <h2>REST  behavior</h2>
    
      
      
      <p>The DAF Requestor SHALL support accessing at least one FHIR resource using the appropriate
         DAF profile(s) for the resource being accessed.
    The DAF Requestor SHALL implement REST behavior according to the 
        
        <a href="../http.html">FHIR</a> specification.
    The DAF Requestor SHALL support either json or xml resource formats for all DAF interactions.
      
      </p>
    
    
      
      <h3>RESTful Operations Summary</h3>
      
      
      <table class="grid">
        
        
        <thead>
          
          
          <tr>
            
            
            <th>Resource(Profile Name)</th>
            
            
            <th>
              
              <a href="../type-restful-interaction.html">Search</a>
            
            </th>
            
            
            <th>
              
              <a href="../type-restful-interaction.html">Read</a>
            
            </th>
            
            
            <th>
              
              <a href="../type-restful-interaction.html">Read Version</a>
            
            </th>
            
            
            <th>
              
              <a href="../type-restful-interaction.html">Instance History</a>
            
            </th>
          
          
          </tr>
        
        
        </thead>
        
        
        <tbody>
          
          
          <tr>
            
            
            <th>
              
              <a href="patient-daf.html">DAFPatient</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFPatientSearch" title="Allows discovery of DAFPatient resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFPatientSearch" title="Allows retrieval of a specific DAFPatients by resource id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFPatientSearch" title="Allows retrieval of a historical version of a DAFPatient">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFPatientSearch" title="Allows review of changes to DAFPatient over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="allergyintolerance-daf.html">DAFAllergyIntolerance</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFAllergyIntoleranceSearch" title="Allows discovery of DAFAllergyIntolerance resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFAllergyIntoleranceSearch" title="Allows retrieval of a specific DAFAllergyIntolerance by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFAllergyIntoleranceSearch" title="Allows retrieval of a historical version of a DAFAllergyIntolerance">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFAllergyIntoleranceSearch" title="Allows review of changes to DAFAllergyIntolerance over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="diagnosticorder-daf.html">DAFDiagnosticOrder</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFDiagnosticOrderSearch" title="Allows discovery of DAFDiagnosticOrder resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFDiagnosticOrderSearch" title="Allows retrieval of a specific DAFDiagnosticOrder by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFDiagnosticOrderSearch" title="Allows retrieval of a historical version of a DAFDiagnosticOrder">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFDiagnosticOrderSearch" title="Allows review of changes to DAFDiagnosticOrder over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="diagnosticreport-daf.html">DAFDiagnosticReport</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFDiagnosticReportSearch" title="Allows discovery of DAFDiagnosticReport resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFDiagnosticReportSearch" title="Allows retrieval of a specific DAFDiagnosticReport by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFDiagnosticReportSearch" title="Allows retrieval of a historical version of a DAFDiagnosticReport">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFDiagnosticReportSearch" title="Allows review of changes to DAFDiagnosticReport over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="encounter-daf.html">DAFEncounter</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFEncounterSearch" title="Allows discovery of DAFEncounter resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFEncounterSearch" title="Allows retrieval of a specific DAFEncounter by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFEncounterSearch" title="Allows retrieval of a historical version of a DAFEncounter">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFEncounterSearch" title="Allows review of changes to DAFEncounter over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="familymemberhistory-daf.html">DAFFamilyMemberHistory</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFFamilyHistorySearch" title="Allows discovery of DAFFamilyHistory resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFFamilyHistorySearch" title="Allows retrieval of a specific DAFFamilyHistory by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFFamilyHistorySearch" title="Allows retrieval of a historical version of a DAFFamilyHistory">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFFamilyHistorySearch" title="Allows review of changes to DAFFamilyHistory over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="immunization-daf.html">DAFImmunization</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFImmunizationSearch" title="Allows discovery of DAFImmunization resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFImmunizationSearch" title="Allows retrieval of a specific DAFImmunization by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFImmunizationSearch" title="Allows retrieval of a historical version of a DAFImmunization">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFImmunizationSearch" title="Allows review of changes to DAFImmunization over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="observation-daf-results.html">DAFResults</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFResultsSearch" title="Allows discovery of DAFResults resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFResultsSearch" title="Allows retrieval of a specific DAFResults by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFResultsSearch" title="Allows retrieval of a historical version of a DAFResults">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFResultsSearch" title="Allows review of changes to DAFResults over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="medication-daf.html">DAFMedication</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFMedicationSearch" title="Allows discovery of DAFMedication resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationSearch" title="Allows retrieval of a specific DAFMedication by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationSearch" title="Allows retrieval of a historical version of a DAFMedication">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationSearch" title="Allows review of changes to DAFMedication over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="medicationstatement-daf.html">DAFMedicationStatement</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFMedicationStatementSearch" title="Allows discovery of DAFMedicationStatement resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationStatementSearch" title="Allows retrieval of a specific DAFMedicationStatement by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationStatementSearch" title="Allows retrieval of a historical version of a DAFMedicationStatement">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationStatementSearch" title="Allows review of changes to DAFMedicationStatement over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="medicationadministration-daf.html">DAFMedicationAdministration</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFMedicationAdministrationSearch" title="Allows discovery of DAFMedicationAdministration resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationAdministrationSearch" title="Allows retrieval of a specific DAFMedicationAdministration by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationAdministrationSearch" title="Allows retrieval of a historical version of a DAFMedicationAdministration">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFMedicationAdministrationSearch" title="Allows review of changes to DAFMedicationAdministration over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="condition-daf.html">DAFCondition</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFConditionSearch" title="Allows discovery of DAFCondition resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFConditionSearch" title="Allows retrieval of a specific DAFCondition by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFConditionSearch" title="Allows retrieval of a historical version of a DAFCondition">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFConditionSearch" title="Allows review of changes to DAFCondition over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="procedure-daf.html">DAFProcedure</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFProcedureSearch" title="Allows discovery of DAFProcedure resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFProcedureSearch" title="Allows retrieval of a specific DAFProcedure by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFProcedureSearch" title="Allows retrieval of a historical version of a DAFProcedure">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFProcedureSearch" title="Allows review of changes to DAFProcedure over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="observation-daf-smokingstatus.html">DAFSmokingStatus</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFSmokingStatusSearch" title="Allows discovery of DAFSmokingStatus resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFSmokingStatusSearch" title="Allows retrieval of a specific DAFSmokingStatus by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFSmokingStatusSearch" title="Allows retrieval of a historical version of a DAFSmokingStatus">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFSmokingStatusSearch" title="Allows review of changes to DAFSmokingStatus over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="observation-daf-vitalsigns.html">DAFVitalSigns</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFVitalSignsSearch" title="Allows discovery of DAFVitalSigns resources based on different search criteria">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFVitalSignsSearch" title="Allows retrieval of a specific DAFVitalSigns by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFVitalSignsSearch" title="Allows retrieval of a historical version of a DAFVitalSigns">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFVitalSignsSearch" title="Allows review of changes to DAFVitalSigns over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
      
          
          <tr>
            
            
            <th>
              
              <a href="list-daf.html">DAFList</a>
            
            </th>
            
            
            <td>
              
              
              <a href="#DAFListSearch" title="Allows discovery of DAFList resources based on different search criteria">SHOULD</a>
            
            
            </td>
      
            
            <td>
        
              
              <a href="#DAFListSearch" title="Allows retrieval of a specific DAFList by id">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFListSearch" title="Allows retrieval of a historical version of a DAFList">SHOULD</a>
            
            
            </td>
            
            
            <td>
              
              
              <a href="#DAFListSearch" title="Allows review of changes to DAFList over time">SHOULD</a>
            
            
            </td>
          
          
          </tr>
        
        
        </tbody>
      
      
      </table>
      
      
      <br/>
      
      
      <br/>
  
    
      
      <h3>Search Operations Summary</h3>
    
      
      <p>DAF Requestors MAY use the following common parameters as part of queries related to DAF
         profiles:</p>
    
      
      <ul>
       
        
        <li>
          
          <a href="../search.html#id">_id</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#lastUpdated">_lastUpdated</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#profile">_profile</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#security">_security</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#tag">_tag</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#text">_text</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#count">_count</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#summary">_summary</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#contained">_contained</a>
        
        </li>
     
        
        <li>
          
          <a href="../search.html#containedType">_containedType</a>
        
        </li>
    
      
      </ul>
    
    
      <p>DAF Requestors SHOULD use the following common parameters as part of queries related to
         DAF profiles to avoid repeated queries.</p>
    
      <ul>
    
        <li>
          
          <a href="../search.html#include">_include</a>
        
        </li>
    
      </ul>
  
      
      <p>DAF Requestors MAY use the following search contexts defined within the 
        
        <a href="../search.html#Introduction">FHIR</a> specification.
      
      </p> 
  
      
      <ul>
    
        
        <li>Search context by specifying a particular resource type</li>
    
        
        <li>Search context which specifies a compartment</li>
  
      
      </ul>
  
      
      <p>DAF Requestors MAY use 
        
        <a href="../search.html#Modifiers">Modifiers</a> as applicable to the data types of the search parameters to access data.
    DAF Requestors MAY use any search parameters that are appropriate for querying a particular
         FHIR resource, however they can only count on the search parameters that are identified
         as SHALL within the 
        <a href="conformance-daf-query-responder.html">DAF Responder's conformance statement</a> to be used in the execution of the search. For a complete list of search parameters that
         are available, please refer to 
        <a href="conformance-daf-query-responder.html">DAF Responder's conformance statement</a> and the search parameters supported by the base FHIR resources profiled by DAF.
      
      </p>
    
    
      
      <br/>
      
      
      <br/>
      
      
      <p>
        
        
        <b>Security:</b>
      
      
      </p>
      
      
      <p>Implementations must meet the security requirements documented in the 
        
        <a href="daf-security.html">DAF implementation guide</a>.
      
      </p>
    
    
    
    </div>
  </text>
  <name value="DAF Requestor"/>
  <status value="draft"/>
  <publisher value="U.S. Office of the National Coordinator (ONC)"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="http://www.healthit.gov/"/>
    </telecom>
  </contact>
  <date value="2015-04-02"/>
  <description value="This profile defines the expected capabilities of the DAF Responder actor when conforming
   to the DAF FHIR implementation guide."/>
  <kind value="requirements"/>
  <fhirVersion value="1.0.2"/>
  <acceptUnknown value="extensions"/>
  <format value="xml"/>
  <format value="json"/>
  <rest>
    <mode value="client"/>
    <documentation value="The DAF Requestor SHOULD support querying of one or more FHIR resources using appropriate
     DAF profile(s), RESTful operations defined for the profile, Search parameters identified
     for the profile."/>
    <security>
      <description value="Implementations SHOULD meet the security requirements documented in the [[daf-security|DAF
       implementation guide]]."/>
    </security>
    <resource>
      <type value="Patient"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-patient"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFPatient resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFPatients by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFPatient instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFPatient instance"/>
      </interaction>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="name"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-name"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="family"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-family"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="given"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-given"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="language"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-language"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="telecom"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-telecom"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="gender"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-gender"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="birthdate"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Patient-birthdate"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="city"/>
        <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-city"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="postalCode"/>
        <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-postalCode"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="state"/>
        <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-state"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="mothersMaidenName"/>
        <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-mothersMaidenName"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="age"/>
        <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-age"/>
        <type value="number"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="race"/>
        <definition value="http://hl7.org/fhir/SearchParameter/us-core-Patient-race"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="ethnicity"/>
        <definition value="http://hl7.org/fhir/SearchParameter/us-core-Patient-ethnicity"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="AllergyIntolerance"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-allergyintolerance"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFAllergyIntolerance resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFAllergyIntolerance by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFAllergyIntolerance instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFAllergyIntolerance instance"/>
      </interaction>
      <searchInclude value="AllergyIntolerance.patient"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="category"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="substance"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="manifestation"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="severity"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="duration"/>
        <type value="quantity"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="onset"/>
        <type value="date"/>
      </searchParam>
    </resource>
    <resource>
      <type value="DiagnosticOrder"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticorder"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFDiagnosticOrder resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFDiagnosticOrder by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFDiagnosticOrder instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFDiagnosticOrder instance"/>
      </interaction>
      <searchInclude value="DiagnosticOrder.subject"/>
      <searchInclude value="DiagnosticOrder.orderer"/>
      <searchInclude value="DiagnosticOrder.encounter"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="orderer"/>
        <type value="reference"/>
        <chain value="orderer.identifier"/>
        <chain value="orderer.given"/>
        <chain value="orderer.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="encounter"/>
        <type value="reference"/>
        <chain value="encounter.identifier"/>
        <chain value="encounter.type"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="item-date"/>
        <type value="date"/>
      </searchParam>
    </resource>
    <resource>
      <type value="DiagnosticReport"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticreport"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFDiagnosticReport resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFDiagnosticReport by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFDiagnosticReport instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFDiagnosticReport instance"/>
      </interaction>
      <searchInclude value="DiagnosticReport.subject"/>
      <searchInclude value="DiagnosticReport.performer"/>
      <searchInclude value="DiagnosticReport.encounter"/>
      <searchInclude value="DiagnosticReport.result"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="name"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="encounter"/>
        <type value="reference"/>
        <chain value="encounter.identifier"/>
        <chain value="encounter.type"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="performer"/>
        <type value="reference"/>
        <chain value="performer.identifier"/>
        <chain value="performer.name"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="result"/>
        <type value="reference"/>
        <chain value="result.code"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Encounter"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-encounter"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFEncounter resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFEncounter by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFEncounter instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFEncounter instance"/>
      </interaction>
      <searchInclude value="Encounter.patient"/>
      <searchInclude value="Encounter.location"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="location"/>
        <type value="reference"/>
        <chain value="location.identifier"/>
        <chain value="location.name"/>
        <chain value="location.address"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="type"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="location-period"/>
        <type value="date"/>
      </searchParam>
    </resource>
    <resource>
      <type value="FamilyMemberHistory"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-familymemberhistory"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFFamilyHistory resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFFamilyHistory by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFFamilyHistory instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFFamilyHistory instance"/>
      </interaction>
      <searchInclude value="FamilyMemberHistory.patient"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="relationship"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="familymemberhistorycondition"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Immunization"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-immunization"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFImmunization resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFImmunization by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFImmunization instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFImmunization instance"/>
      </interaction>
      <searchInclude value="Immunization.patient"/>
      <searchInclude value="Immunization.performer"/>
      <searchInclude value="Immunization.requester"/>
      <searchInclude value="Immunization.manufacturer"/>
      <searchInclude value="Immunization.reaction.detail"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="vaccine-type"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="notgiven"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="lot-number"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="requester"/>
        <type value="reference"/>
        <chain value="requester.identifier"/>
        <chain value="requester.name"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Observation"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-resultobscode"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFResults resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFResults by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFResults instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFResults instance"/>
      </interaction>
      <searchInclude value="Observation.encounter"/>
      <searchInclude value="Observation.subject"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="value-concept"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code-value[x]"/>
        <type value="composite"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="encounter"/>
        <type value="reference"/>
        <chain value="encounter.identifier"/>
        <chain value="encounter.type"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Medication"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-medication"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFMedication resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFMedication by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFMedication instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFMedication instance"/>
      </interaction>
      <searchInclude value="Medication.manufacturer"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="name"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="form"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="ingredient"/>
        <type value="reference"/>
      </searchParam>
    </resource>
    <resource>
      <type value="MedicationStatement"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationstatement"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFMedicationStatement resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFMedicationStatement by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFMedicationStatement instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFMedicationStatement instance"/>
      </interaction>
      <searchInclude value="MedicationStatement.patient"/>
      <searchInclude value="MedicationStatement.medication"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="effectivedate"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="medication"/>
        <type value="reference"/>
        <chain value="medication.code"/>
        <chain value="medication.name"/>
      </searchParam>
    </resource>
    <resource>
      <type value="MedicationAdministration"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationadministration"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFMedicationAdministration resources using different search
         criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFMedicationAdministration by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFMedicationAdministration instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFMedicationAdministration instance"/>
      </interaction>
      <searchInclude value="MedicationAdministration.patient"/>
      <searchInclude value="MedicationAdministration.practitioner"/>
      <searchInclude value="MedicationAdministration.encounter"/>
      <searchInclude value="MedicationAdministration.prescription"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="effectivetime"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="encounter"/>
        <type value="reference"/>
        <chain value="encounter.identifier"/>
        <chain value="encounter.type"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="practitioner"/>
        <type value="reference"/>
        <chain value="practitioner.identifier"/>
        <chain value="practitioner.name"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="prescription"/>
        <type value="reference"/>
        <chain value="prescription.identifier"/>
        <chain value="prescription.datewritten"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Condition"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-condition"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFCondition resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFCondition by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFCondition instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFCondition instance"/>
      </interaction>
      <searchInclude value="Condition.patient"/>
      <searchInclude value="Condition.encounter"/>
      <searchInclude value="Condition.asserter"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="date-asserted"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="encounter"/>
        <type value="reference"/>
        <chain value="encounter.identifier"/>
        <chain value="encounter.type"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="onset"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="severity"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="Procedure"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-procedure"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFProcedure resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFProcedure by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFProcedure instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFProcedure instance"/>
      </interaction>
      <searchInclude value="Procedure.patient"/>
      <searchInclude value="Procedure.encounter"/>
      <searchInclude value="Procedure.performer"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="type"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="encounter"/>
        <type value="reference"/>
        <chain value="encounter.identifier"/>
        <chain value="encounter.type"/>
      </searchParam>
    </resource>
  <!--   
    <resource>
      <type value="SmokingStatus"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/observation-daf-smokingstatus-dafs
    mokingstatus"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFSmokingStatus resources
     using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFSmokingStatus by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFSmokingStatus instance over
     time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFSmokingStatus
     instance"/>
      </interaction>
      <searchInclude value="Observation.subject"/>
      <searchInclude value="Observation.encounter"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="value-concept"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
    </resource>
    <resource>
      <type value="DAFVitalSigns"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-vitalsigns"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFVitalSigns resources using
     different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFVitalSigns by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFVitalSigns instance over
     time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFVitalSigns
     instance"/>
      </interaction>
      <searchInclude value="Observation.subject"/>
      <searchInclude value="Observation.encounter"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="value-quantity"/>
        <type value="quantity"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code-value[x]"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
    </resource>    -->
    <resource>
      <type value="List"/>
      <profile>
        <reference value="http://hl7.org/fhir/StructureDefinition/daf-problemlist"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing DAFList resources using different search criteria"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific DAFList by id"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to DAFList instance over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a DAFList instance"/>
      </interaction>
      <searchInclude value="List.subject"/>
      <searchInclude value="List.item"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="patient"/>
        <type value="reference"/>
        <chain value="patient.identifier"/>
        <chain value="patient.name"/>
        <chain value="patient.given"/>
        <chain value="patient.family"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <name value="empty-reason"/>
        <type value="token"/>
      </searchParam>
    </resource>
  </rest>
</Conformance>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.